<fieldset>
	<legend>Edit Bookmark</legend>
	
	<?php $form = $this->form($this->model); ?>
	<div pipes:for="tags">
		<label for="form__bookmark__tags">Tags</label>
		<input id="form__bookmark_tags" type="text" name="bookmark[tags]" value="<?php foreach ($this->model->tags as $tag) { echo $tag->name . ' '; } ?>" />
	</div>
	<?php
		if ($this->isAjax) {
			$form->doAjax();
		}
		echo $form->render(); 
	?>
</fieldset>
